﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F0D RID: 3853
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicAutoDressInUnitCsReq : IMessage<RogueMagicAutoDressInUnitCsReq>, IMessage, IEquatable<RogueMagicAutoDressInUnitCsReq>, IDeepCloneable<RogueMagicAutoDressInUnitCsReq>, IBufferMessage
	{
		// Token: 0x170030F6 RID: 12534
		// (get) Token: 0x0600ACDC RID: 44252 RVA: 0x001D3AC5 File Offset: 0x001D1CC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicAutoDressInUnitCsReq> Parser
		{
			get
			{
				return RogueMagicAutoDressInUnitCsReq._parser;
			}
		}

		// Token: 0x170030F7 RID: 12535
		// (get) Token: 0x0600ACDD RID: 44253 RVA: 0x001D3ACC File Offset: 0x001D1CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicAutoDressInUnitCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030F8 RID: 12536
		// (get) Token: 0x0600ACDE RID: 44254 RVA: 0x001D3ADE File Offset: 0x001D1CDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicAutoDressInUnitCsReq.Descriptor;
			}
		}

		// Token: 0x0600ACDF RID: 44255 RVA: 0x001D3AE5 File Offset: 0x001D1CE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInUnitCsReq()
		{
		}

		// Token: 0x0600ACE0 RID: 44256 RVA: 0x001D3AF8 File Offset: 0x001D1CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInUnitCsReq(RogueMagicAutoDressInUnitCsReq other) : this()
		{
			this.magicUnitIdList_ = other.magicUnitIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ACE1 RID: 44257 RVA: 0x001D3B22 File Offset: 0x001D1D22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInUnitCsReq Clone()
		{
			return new RogueMagicAutoDressInUnitCsReq(this);
		}

		// Token: 0x170030F9 RID: 12537
		// (get) Token: 0x0600ACE2 RID: 44258 RVA: 0x001D3B2A File Offset: 0x001D1D2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> MagicUnitIdList
		{
			get
			{
				return this.magicUnitIdList_;
			}
		}

		// Token: 0x0600ACE3 RID: 44259 RVA: 0x001D3B32 File Offset: 0x001D1D32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicAutoDressInUnitCsReq);
		}

		// Token: 0x0600ACE4 RID: 44260 RVA: 0x001D3B40 File Offset: 0x001D1D40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicAutoDressInUnitCsReq other)
		{
			return other != null && (other == this || (this.magicUnitIdList_.Equals(other.magicUnitIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ACE5 RID: 44261 RVA: 0x001D3B74 File Offset: 0x001D1D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.magicUnitIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ACE6 RID: 44262 RVA: 0x001D3BA8 File Offset: 0x001D1DA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ACE7 RID: 44263 RVA: 0x001D3BB0 File Offset: 0x001D1DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ACE8 RID: 44264 RVA: 0x001D3BB9 File Offset: 0x001D1DB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.magicUnitIdList_.WriteTo(ref output, RogueMagicAutoDressInUnitCsReq._repeated_magicUnitIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ACE9 RID: 44265 RVA: 0x001D3BE0 File Offset: 0x001D1DE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.magicUnitIdList_.CalculateSize(RogueMagicAutoDressInUnitCsReq._repeated_magicUnitIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ACEA RID: 44266 RVA: 0x001D3C19 File Offset: 0x001D1E19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicAutoDressInUnitCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.magicUnitIdList_.Add(other.magicUnitIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ACEB RID: 44267 RVA: 0x001D3C47 File Offset: 0x001D1E47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ACEC RID: 44268 RVA: 0x001D3C50 File Offset: 0x001D1E50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U && num != 74U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.magicUnitIdList_.AddEntriesFrom(ref input, RogueMagicAutoDressInUnitCsReq._repeated_magicUnitIdList_codec);
				}
			}
		}

		// Token: 0x0400462C RID: 17964
		private static readonly MessageParser<RogueMagicAutoDressInUnitCsReq> _parser = new MessageParser<RogueMagicAutoDressInUnitCsReq>(() => new RogueMagicAutoDressInUnitCsReq());

		// Token: 0x0400462D RID: 17965
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400462E RID: 17966
		public const int MagicUnitIdListFieldNumber = 9;

		// Token: 0x0400462F RID: 17967
		private static readonly FieldCodec<uint> _repeated_magicUnitIdList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04004630 RID: 17968
		private readonly RepeatedField<uint> magicUnitIdList_ = new RepeatedField<uint>();
	}
}
